package com.demo;

import org.noear.solon.Solon;
import org.noear.solon.annotation.Controller;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.annotation.WebSocket;

/**
 * @author Administrator
 */
@Controller
public class App{
    public static void main(String[] args){
        Solon.start(App.class,args);
    }
  
    @Mapping("/1")
    public String hello(String name){
        return "Hello " + name;
    }
}